<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"      
      xmlns:p="http://primefaces.org/ui">

    <p:menubar autoDisplay="false">

        <p:submenu label="#{bundle.Bambole}">

            <p:submenu label="#{bundle.Order}">

                <p:menuitem value ="#{bundle.Order}"
                            url="/faces/app/order_header/list.xhtml?faces-redirect=true"/>  
                
                <p:menuitem value ="#{bundle.Shipment}"
                            url="/faces/app/shipment_header/list.xhtml?faces-redirect=true"/>                 

                <p:separator/>

                <p:menuitem value ="#{bundle.PaymentTerm}"
                            url="/faces/app/payment_term/list.xhtml?faces-redirect=true"/>         

                <p:menuitem value ="#{bundle.Status}"
                            url="/faces/app/status/list.xhtml?faces-redirect=true"/>

                <p:menuitem value ="#{bundle.Channel}"
                            url="/faces/app/channel/list.xhtml?faces-redirect=true"/>          

                <p:menuitem value ="#{bundle.Type}"
                            url="/faces/app/type/list.xhtml?faces-redirect=true"/>        

            </p:submenu>      

            <p:submenu label="#{bundle.Organization}"> 

                <p:menuitem value="#{bundle.Organization}"
                            url="/faces/app/organization/list.xhtml?faces-redirect=true"/>      

                <p:separator/>  

                <p:menuitem value="#{bundle.Industry}"
                            url="/faces/app/industry/list.xhtml?faces-redirect=true"/>        

            </p:submenu>

            <p:submenu label="#{bundle.Product}"> 

                <p:menuitem value ="#{bundle.Product}"
                            url="/faces/app/product/list.xhtml?faces-redirect=true"/>               

                <p:separator/>   

                <p:menuitem value ="#{bundle.Category}"
                            url="/faces/app/category/list.xhtml?faces-redirect=true"/>        

                <p:menuitem value ="#{bundle.Color}"
                            url="/faces/app/color/list.xhtml?faces-redirect=true"/>         

            </p:submenu>     

            <p:submenu label="#{bundle.System}">

                <p:menuitem value="#{bundle.Configuration}" 
                            url="/faces/app/configuration/list.xhtml?faces-redirect=true"/>                 

                <p:menuitem value="#{bundle.User}" 
                            url="/faces/app/user/list.xhtml?faces-redirect=true"/>       

                <p:menuitem value="#{bundle.Session}" 
                            url="/faces/app/system/session.xhtml?faces-redirect=true"/> 

                <p:menuitem value="#{bundle.Logo}" 
                            url="/faces/app/logo/list.xhtml?faces-redirect=true"/>                 

                <p:separator/>        

                <p:menuitem value="#{bundle.Logout}"
                            action="#{userUtil.logout}"
                            update=":messages"/>         

            </p:submenu>      

        </p:submenu>

        <f:facet name="options">

            <p:button id="homeButton"
                      style="max-width: 1.6em; max-height: 1.6em"
                      icon="ui-icon-home"
                      outcome="/app/main.xhtml?faces-redirect=true"/>

            <p:tooltip for="homeButton"
                       value="#{bundle.Home}"/>

        </f:facet> 

    </p:menubar>

    <p:spacer/>

</html>